﻿using ApproveFlowEngine.Approve.DTO;
using ApproveFlowEngine.Core;
using ApproveFlowEngine.Core.Base;

using AutoMapper;

namespace ApproveFlowEngine;

public class ApproveFlowEngineApplicationAutoMapperProfile : Profile
{
    #region Public Constructors

    public ApproveFlowEngineApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<WorkFlow, WorkFlowDto>().ReverseMap();
        CreateMap<WorkNode, WorkNodeDto>().IncludeMembers();
    }

    #endregion Public Constructors
}